import React from 'react';
import { connect } from 'dva';
import styles from './Login.css';
import LoginComponent from '../components/Login/Login';


function Login(props) {
  return (
    <div className={styles.normal}>
      <LoginComponent {...props}/>
    </div>
  );
}

function mapStateToProps(state) {
  return {
    login: state.login
  };
}

export default connect(mapStateToProps)(Login);
